From: MOZGIII Date: Mon, 22 Jun 2020 12:41:58 +0000 (+0300) Subject: dateMenu: Do not ellipsize clock X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~684^2^2~214 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=980a90f8fbab0efb2f9ef2f1a2f40e8639663ad1;p=gnome-shell.git dateMenu: Do not ellipsize clock This addresses the issue with ellipsized clock that occurs when using extensions that move the clock from the middle to the side of the top bar. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1327 Signed-off-by: MOZGIII --- diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js index ce0a1f617..13d1d4019 100644 --- a/js/ui/dateMenu.js +++ b/js/ui/dateMenu.js @@ -784,6 +784,7 @@ class DateMenuButton extends PanelMenu.Button { this._clockDisplay = new St.Label({ style_class: 'clock' }); this._clockDisplay.clutter_text.y_align = Clutter.ActorAlign.CENTER; + this._clockDisplay.clutter_text.ellipsize = Pango.EllipsizeMode.NONE; this._indicator = new MessagesIndicator();